﻿Imports System
Imports System.Runtime.CompilerServices
Imports System.Runtime.InteropServices

Namespace Google.Desktop.Interop
    <ComImport, Guid("79EDFDE2-6BC6-41BD-A54C-F8AFF2F3789A"), TypeLibType(CShort(&H1040))> _
    Public Interface IGoogleDesktopEvent2
        Inherits IGoogleDesktopEvent
        <MethodImpl(MethodImplOptions.InternalCall, MethodCodeType:=MethodCodeType.Runtime), DispId(&H3EC)> _
        Sub AddProperty(<MarshalAs(UnmanagedType.BStr)> ByVal property_name As String, <MarshalAs(UnmanagedType.Struct)> ByVal property_value As Object)
        <MethodImpl(MethodImplOptions.InternalCall, MethodCodeType:=MethodCodeType.Runtime), DispId(&H3ED)> _
        Sub Send(ByVal event_flags As Integer)
        <MethodImpl(MethodImplOptions.InternalCall, MethodCodeType:=MethodCodeType.Runtime), DispId(&H3EE)> _
        Function SendEx(<[In]> ByVal event_flags As Integer) As Integer
    End Interface
End Namespace

